<div fmt-repeat="linkBlock in associated"
     class="summary-links summary-links-{{linkBlock.name | escapeXmlAttrs}}">
  <div fmt-if="isPDF">
    <div fmt-include="html/single-link.html" fmt-include-replace="true"/>
  </div>
  <div fmt-if="!isPDF">
    <h3>
      <button type="button" class="btn btn-default toggler" target="{{'' | generateUUID}}">
        <i class="fa fa-arrow-circle-down"></i>
      </button>
      <i fmt-if="linkBlock.iconClasses" class="{{linkBlock.iconClasses}} pad-right"></i><span
      fmt-translate="">{{linkBlock.name | escapeXmlContent}}</span>
    </h3>
    <table id="{{'' | lastUUID}}" class="table row">
      <tr fmt-repeat="link in linkBlock.links" class="row">
        <td class="col-md-2 link-block-title">
          <h3>
            <button type="button" class="btn btn-default toggler" target="{{'' | generateUUID}}">
              <i class="fa fa-arrow-circle-down"></i>
            </button>
            <span fmt-if="link.type.iconHtml" fmt-only-children="true">{{link.type.iconHtml}}</span>
            <i fmt-if="link.type.iconClasses" class="{{link.type.iconClasses}} pad-right"
               title="{{link.type.iconTitle | capitalize}}"></i>
            <img fmt-if="link.type.icon" src="{{link.type.icon}}"
                 title="{{link.type.iconTitle | capitalize}}" class="icon pad-right"></img>
            <span fmt-translate="">{{link.type.name}}-link</span>
          </h3>
        </td>
        <td class="col-md-10">
          <div id="{{'' | lastUUID}}">
            <div fmt-repeat="link in link.links">
              <a onclick="gnFormatter.loadAssociated(event, 'div#associated-{{- | generateUUID}}', '{{link.metadataId}}');"
                 title="{{link.tip}}" class="{{link.cls}} associated-link-a"
                 target="{{'' | lastUUID}}">{{link.text | escapeXmlContent}}</a>
              <a href="{{link.href}}" target="_blank" title="{{link.href}}" class="{{link.cls}}">
                <i class="fa fa-external-link"></i>
              </a>

              <div id="{{'' | lastUUID}}" style="display: none;" class="associated-link-row">
                <img class="logo" src="{{link.logo}}" fmt-if="link.logo"/>
                <h3 class="text-justify" >{{link.tip | capitalize}}</h3>
                <p class="text-justify" fmt-if="link.abstract">{{link.abstract}}</p>


                <div id="associated-{{'' | lastUUID}}"/>
              </div>
            </div>
          </div>
        </td>
      </tr>
      <span fmt-if="linkBlock.html">{{linkBlock.html}}</span>
    </table>
  </div>
</div>
